package com.hxexp.weixin.hpe.api.passengerlist.model;

import java.util.List;

import com.hxexp.weixin.model.CommonResult;

/**
 * HPE常用乘车人列表返回结果
 *
 * @author wang.bin
 *
 */
public final class PassengerListResultBean extends CommonResult {

    private static final long serialVersionUID = 1723386221364532759L;
    /**
     * 乘车人列表
     */
    private List<PassengerBean> passengers;

    public List<PassengerBean> getPassengers() {
        return passengers;
    }

    public void setPassengers(List<PassengerBean> passengers) {
        this.passengers = passengers;
    }

    @Override
    public String toString() {
        return String.format("PassengerListResultBean [passengers=%s,errcode=%d,errmsg=%s]", passengers,
                this.getErrcode(), this.getErrmsg());
    }

}
